package com.weu.service.impl;

import com.weu.bean.Car;
import com.weu.mapper.SaleMapper;
import com.weu.service.ISaleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SaleServiceImpl implements ISaleService {

    @Resource
    private SaleMapper saleMapper;

    @Override
    public List<Car> getByUid(int id) {
        return saleMapper.getByUid(id);
    }
}
